package com.xnyzc.lhy.order.controller.task;

import com.xnyzc.lhy.order.service.task.IDriverProtectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 司机保护
 * @author zhengxu
 */
@RestController
@RequestMapping(value = "/task/driverService")
public class DriverProtectionController {
    @Autowired
    private IDriverProtectionService iDriverProtectionService;

    @GetMapping(value = "/driverLockProtection")
    public void driverLockProtection() {
        iDriverProtectionService.driverLockProtection();
    }

    @GetMapping(value = "/paymentReview")
    public void paymentReview() {
        iDriverProtectionService.paymentReview();
    }
}
